var waterline = require('../config/waterline');


module.exports = {
    //查询全部数据
    getList: function(param, next) {
        // console.log("param:", param);
        waterline.models.prov_city_area
            .find(param)
            .exec(next);
    },
    //查询数量
    count: function(param, next) {
        waterline.models.prov_city_area
            .count(param)
            .exec(next);
    }


};